package com.bean;

import lombok.Data;

import java.sql.Date;

@Data
public class Student {
    private String no;      // 学生学号
    private String name;    // 学生姓名
    private int age;        // 学生年龄
    private String sex;     // 学生性别
    private float score;    // 学生分数
    private Date time;      // 入学时间

    public Student() {
    }

    public Student(String no, String name, int age, String sex, float score, Date time) {
        this.no = no;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.score = score;
        this.time = time;
    }
}
